package com.atguigu.spzx.feign.cart.fallback;

import com.atguigu.spzx.feign.cart.CartFeignClient;
import com.atguigu.spzx.model.entity.h5.CartInfo;
import com.atguigu.spzx.model.vo.common.Result;
import com.atguigu.spzx.model.vo.common.ResultCodeEnum;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName: CartFeignClientImpl
 * @Package: com.atguigu.spzx.feign.cart.fallback
 * @Description
 * @Author 孤妤
 * @Date: 2023/12/20 16:38
 */
@Component
public class CartFeignClientFallback implements CartFeignClient {
    @Override
    public List<CartInfo> findCart() {
        return new ArrayList<>();
    }
    @Override
    public void deleteChecked() {}
}
